package com.lagou.edu.serviceImpl;

import com.lagou.edu.dao.LagouTokenDao;
import com.lagou.edu.pojo.LagouToken;
import com.lagou.edu.service.LagouTokenService;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

@Service
public class LagouTokenServiceImpl implements LagouTokenService {

    @Autowired
    private LagouTokenDao lagouTokenDao;

    @Override
    public LagouToken save(LagouToken lagouToken) {
        return lagouTokenDao.save(lagouToken);
    }

    @Override
    public void delete(LagouToken lagouToken) {
        lagouTokenDao.delete(lagouToken);
    }
}
